package com.wsf.swagger1.swaggerconfig.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "Server")
@RestController
public class ServerController {

    @ApiOperation(value = "提供一个简单的接口")
    @RequestMapping("/getServer")
    public String ServerApi(){
        return "hello";
    }
}
